#include<stdio.h>
#include<signal.h>
#include<unistd.h>

int catch(int sig);

int main(int argc, char *argv[])
{
  signal(SIGINT,catch);
  printf("hello!\n");
  sleep(10);
  printf("hello!\n");
  return 0;
}

int catch(int sig)
{
  printf(" catch signal\n");
  return 1;
}
